package com.ruoyi.part.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.part.domain.DmsPartsPurchaseOrderDetail;

import java.util.List;

/**
 * 零件采购详细Service接口
 * 
 * @author liuchuanfa
 * @date 2024-03-17
 */
public interface IDmsPartsPurchaseOrderDetailService extends IService<DmsPartsPurchaseOrderDetail>
{
    /**
     * 查询零件采购详细
     * 
     * @param id 零件采购详细主键
     * @return 零件采购详细
     */
    public DmsPartsPurchaseOrderDetail selectDmsPartsPurchaseOrderDetailById(Long id);

    /**
     * 查询零件采购详细列表
     * 
     * @param dmsPartsPurchaseOrderDetail 零件采购详细
     * @return 零件采购详细集合
     */
    public List<DmsPartsPurchaseOrderDetail> selectDmsPartsPurchaseOrderDetailList(DmsPartsPurchaseOrderDetail dmsPartsPurchaseOrderDetail);

    /**
     * 新增零件采购详细
     * 
     * @param dmsPartsPurchaseOrderDetail 零件采购详细
     * @return 结果
     */
    public int insertDmsPartsPurchaseOrderDetail(DmsPartsPurchaseOrderDetail dmsPartsPurchaseOrderDetail);

    /**
     * 修改零件采购详细
     * 
     * @param dmsPartsPurchaseOrderDetail 零件采购详细
     * @return 结果
     */
    public int updateDmsPartsPurchaseOrderDetail(DmsPartsPurchaseOrderDetail dmsPartsPurchaseOrderDetail);

    /**
     * 批量删除零件采购详细
     * 
     * @param ids 需要删除的零件采购详细主键集合
     * @return 结果
     */
    public int deleteDmsPartsPurchaseOrderDetailByIds(Long[] ids);

    /**
     * 删除零件采购详细信息
     * 
     * @param id 零件采购详细主键
     * @return 结果
     */
    public int deleteDmsPartsPurchaseOrderDetailById(Long id);
}
